<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/taglibs.jsp"%>

<form action="${ctx}/sys/dict/add" method="post">
    <table>
        <tbody>
            <tr>
                <td><label for="addform-id">字段ID</label></td>
                <td><input type="text" id="addform-id" name="id" class="easyui-textbox"
                    data-options="validType:'length[0,32]', prompt:'不输入时会自动生成'"/>
                </td>
            </tr>
            <tr>
                <td><label for="addform-field">字段名</label></td>
                <td><input type="text" id="addform-field" name="field" class="easyui-textbox"
                    data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td><label for="addform-fieldDesc">字段描述</label></td>
                <td><input type="text" id="addform-fieldDesc" name="fieldDesc" class="easyui-textbox"
                    data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td><label for="addform-value">值</label></td>
                <td><input type="text" id="addform-value" name="value" class="easyui-textbox"
                    data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td><label for="addform-valueDesc">值描述</label></td>
                <td><input type="text" id="addform-valueDesc" name="valueDesc" class="easyui-textbox"
                    data-options="required:true"/>
                </td>
            </tr>
            <tr>
                <td><label for="addform-order">排序号</label></td>
                <td><input type="text" id="addform-order" name="order" class="easyui-textbox"
                    data-options="validType:'number'"/>
                </td>
            </tr>
        </tbody>
    </table>
</form>
